package priv.mill.factory;

public class Main {
    public static void main(String[] args){
    	Amimal animal = AnimalFactory.getAnimal("贵宾1");
//    	null
    	System.out.printf("我是%s,我的价格是%f.",
    			animal.getInfo(),animal.getPrice());
    }

}
